package com.pushtime.service.dto.jhipster;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

@JsonIgnoreProperties(ignoreUnknown = true)
public class Relationship {
    private String relationshipType;
    private String javadoc;
    private String relationshipName;
    private String otherEntityName;
    private String otherEntityField;

    public String getRelationshipType() {
        return relationshipType;
    }

    public void setRelationshipType(String relationshipType) {
        this.relationshipType = relationshipType;
    }

    public String getJavadoc() {
        return javadoc;
    }

    public void setJavadoc(String javadoc) {
        this.javadoc = javadoc;
    }

    public String getRelationshipName() {
        return relationshipName;
    }

    public void setRelationshipName(String relationshipName) {
        this.relationshipName = relationshipName;
    }

    public String getOtherEntityName() {
        return otherEntityName;
    }

    public void setOtherEntityName(String otherEntityName) {
        this.otherEntityName = otherEntityName;
    }

    public String getOtherEntityField() {
        return otherEntityField;
    }

    public void setOtherEntityField(String otherEntityField) {
        this.otherEntityField = otherEntityField;
    }

    @Override
    public String toString() {
        return "Relationship{" +
                "relationshipType='" + relationshipType + '\'' +
                ", javadoc='" + javadoc + '\'' +
                ", relationshipName='" + relationshipName + '\'' +
                ", otherEntityName='" + otherEntityName + '\'' +
                ", otherEntityField='" + otherEntityField + '\'' +
                '}';
    }
}
